# -*- coding: UTF-8 -*-
import os, sys

tmp_dir = sys.argv[0].split('/')
home_dir = ''
for i in range(len(tmp_dir) - 1):
    home_dir = home_dir + tmp_dir[i] + '/'

#update keywordlist
os.system('python %slist/make_kwl.py' % (home_dir))

#api
os.system('python %spy/meituan.py' % (home_dir))
os.system('python %spy/aibang.py' % (home_dir))
os.system('python %spy/58.py' % (home_dir))
#os.system('python %spy/kutuan.py' % (home_dir))
#os.system('python %spy/cocotuan.py' % (home_dir))
os.system('python %spy/ynet.py' % (home_dir))

#web
os.system('python %spy/qq.py' % (home_dir))
os.system('python %spy/nuomi.py' % (home_dir))
os.system('python %spy/manzuo.py' % (home_dir))
#os.system('python %spy/24quan.py' % (home_dir))
os.system('python %spy/55tuan.py' % (home_dir))
os.system('python %spy/zhaozhe.py' % (home_dir))
